<?php
$event->data['blogPosts'] = array(CActiveRecord::HAS_MANY,'BlogPost','id');
